﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class L_GouMai:NFinal.Struct
    {
		public System.Int32? ID {get;set;}
		public System.String XingMing {get;set;}
		public System.String FangHao {get;set;}
		public System.Decimal? DingJin {get;set;}
		public System.Decimal? ZongJia {get;set;}
		public System.DateTime? GouMaiDate {get;set;}
		public System.String ZhiFu {get;set;}
		public System.Int32? LouPanID {get;set;}
		public System.String MingCheng {get;set;}
		public System.String ZhuangTai {get;set;}
		public System.String OpenID {get;set;}
		public System.String OpenIDPath {get;set;}
		public System.String Log {get;set;}
		public System.DateTime? AddTime {get;set;}
		public System.Double? FanXian1 {get;set;}
		public System.Double? FanXian2 {get;set;}
		public System.Double? FanXian3 {get;set;}
		public System.Double? ZongDianWei {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"ID\":");
					tw.Write(ID==null?"null" : ID.ToString());
					tw.Write(",");
					tw.Write("\"XingMing\":");
					tw.Write("\"");
					tw.Write(XingMing==null?"null":XingMing);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"FangHao\":");
					tw.Write("\"");
					tw.Write(FangHao==null?"null":FangHao);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"DingJin\":");
					tw.Write(DingJin==null?"null" : DingJin.ToString());
					tw.Write(",");
					tw.Write("\"ZongJia\":");
					tw.Write(ZongJia==null?"null" : ZongJia.ToString());
					tw.Write(",");
					tw.Write("\"GouMaiDate\":");
					tw.Write("\"");
					tw.Write(GouMaiDate==null?"null":GouMaiDate.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ZhiFu\":");
					tw.Write("\"");
					tw.Write(ZhiFu==null?"null":ZhiFu);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"LouPanID\":");
					tw.Write(LouPanID==null?"null" : LouPanID.ToString());
					tw.Write(",");
					tw.Write("\"MingCheng\":");
					tw.Write("\"");
					tw.Write(MingCheng==null?"null":MingCheng);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ZhuangTai\":");
					tw.Write("\"");
					tw.Write(ZhuangTai==null?"null":ZhuangTai);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"OpenID\":");
					tw.Write("\"");
					tw.Write(OpenID==null?"null":OpenID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"OpenIDPath\":");
					tw.Write("\"");
					tw.Write(OpenIDPath==null?"null":OpenIDPath);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Log\":");
					tw.Write("\"");
					tw.Write(Log==null?"null":Log);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"AddTime\":");
					tw.Write("\"");
					tw.Write(AddTime==null?"null":AddTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"FanXian1\":");
					tw.Write(FanXian1==null?"null" : FanXian1.ToString());
					tw.Write(",");
					tw.Write("\"FanXian2\":");
					tw.Write(FanXian2==null?"null" : FanXian2.ToString());
					tw.Write(",");
					tw.Write("\"FanXian3\":");
					tw.Write(FanXian3==null?"null" : FanXian3.ToString());
					tw.Write(",");
					tw.Write("\"ZongDianWei\":");
					tw.Write(ZongDianWei==null?"null" : ZongDianWei.ToString());
			tw.Write("}");
		}
		#endregion
    }
}
